---
ruleName: templates-use-public
type: functionality
description: Ensure that properties and methods accessed from the template are public.
rationale: 'When Angular compiles the templates, it has to access these properties from outside the class.'
options: null
optionsDescription: Not configurable.
typescriptOnly: true
layout: rule
title: 'Rule: templates-use-public'
optionsJSON: 'null'
---